package io.kiki.sba.registry.server.metadata.bootstrap.config;

import java.util.Collection;
import java.util.List;
import java.util.Map;
import java.util.Set;


public interface NodeConfig {

    /**
     * get other metaServer node
     */
    Map<String, Collection<String>> getMetaNode();

    /**
     * get other metaServer node ip
     */
    Map<String, List<String>> getDataCenterToIpList();

    /**
     * local data Center id
     */
    String getLocalDataCenter();

    /**
     * get dataCenter by meta node ipAddress
     */
    String getCentralControlDataCenter(String metaIpAddress);

    /**
     * get datacenter meta servers
     */
    Set<String> getDataCenterMetaServers(String dataCenter);
}
